{include file='./inc/header.tpl'}
<div id="wrap">
    {include file='./inc/head.tpl'}
    <div id="contents">
        <div class="ttl">
            <h2>人材情報</h2>
        </div>

        <form action="./" method="post" name="search_form">
            <input type="hidden" name="mode" value="search" />
            <input type="hidden" name="transid" value="{$transactionid}">
            <!--{foreach from=$arrHidden key="key" item="item"}-->
                <!--{if is_array($item)}-->
                    <!--{foreach item=c_item from=$item}-->
                        <input type="hidden" name="{$key}[]" value="{$c_item}" />
                    <!--{/foreach}-->
                <!--{else}-->
                    <input type="hidden" name="{$key}" value="{$item}" />
                 <!--{/if}-->
            <!--{/foreach}-->
        </form>

        <div class="formBox">
            <h3>詳細情報</h3>
            {include file='./inc/message.tpl'}
            <form action="./admin/apply_edit" method="post" id="form1" name="form1">
            <input type="hidden" name="transid" value="{$transactionid}">
            <input type="hidden" name="mode" value="" />
            {assign var=key value="apply_id"}
            <input type="hidden" name="{$key}" value="{$arrForm[$key].value}" />
            <!--{foreach from=$arrHidden key="key" item="item"}-->
                <!--{if is_array($item)}-->
                    <!--{foreach item=c_item from=$item}-->
                        <input type="hidden" name="{$key}[]" value="{$c_item}" />
                    <!--{/foreach}-->
                <!--{else}-->
                    <input type="hidden" name="{$key}" value="{$item}" />
                 <!--{/if}-->
            <!--{/foreach}-->
                <dl class="detailDiv">
                    <dt>人材名</dt>
                    {assign var=key value="name"}
                    <dd>{$arrForm[$key].value}</dd>
                    <dt>国家</dt>
                    {assign var=key value="nation"}
                    <dd>{$arrForm[$key].value}</dd>
                    <dt>電話番号</dt>
                    {assign var=key value="phone"}
                    <dd>{$arrForm[$key].value}</dd>
                    <dt>メール</dt>
                    {assign var=key value="email"}
                    <dd>{$arrForm[$key].value}</dd>
                    <dt>仕事コード</dt>
                    {assign var=key value="job_code"}
                    <dd>{$arrForm[$key].value}</dd>
                    <dt>添付ファイル</dt>
                    {assign var=key value="attach"}
                    <dd><a target="_blank" href="/attach/{$arrForm.save_attach.value}">{$arrForm[$key].value}</a></dd>
                </dl>
                <input class="primary" onclick="fnReturn();" type="button" value="検索画面に戻る"/>
            </form>
        </div><!-- #fromBox -->
    </div><!-- #contents -->
</div><!-- #wrap -->
<<script type="text/javascript">
<!--
function fnReturn() {
    document.search_form.action = './admin/candidate';
    document.search_form.mode.value = "search";
    document.search_form.submit();
    return false;
}
//-->
</script>
{include file='./inc/footer.tpl'}